package com.graduate.work.graduatework.common;

/**
 * @author: cuibingqi.
 * @date: 17/5/15 下午2:39.
 * @descripe:
 */
public enum ResultStatus {
    SUCCESS(0,"成功"),
    FAIL(1001,"失败");

    private int code;
    private String msg;



    ResultStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
